package com.leimo.demo.action;

import com.leimo.demo.service.DemoService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Component;

@Component
public class HelloAction {

  @DubboReference(version = "1.0.0")
  private DemoService demoService;

  public String testApi(){
    return demoService.sayHello("123");
  }
}
